<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Wheelphone Library: com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wheelphone Library
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage" --><div class="dynheader">
Collaboration diagram for com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage:</div>
<div class="dyncontent">
<div class="center"><img src="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message__coll__graph.png" border="0" usemap="#com_8wheelphone_8wheelphonelibrary_8_u_s_b_accessory_manager_message_coll__map" alt="Collaboration graph"/></div>
<map name="com_8wheelphone_8wheelphonelibrary_8_u_s_b_accessory_manager_message_coll__map" id="com_8wheelphone_8wheelphonelibrary_8_u_s_b_accessory_manager_message_coll__map">
<area shape="rect" id="node2" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html" title="{com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage.MessageType\n|+ READ\l+ ERROR\l+ CONNECTED\l+ DISCONNECTED\l|}" alt="" coords="5,6,512,127"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#af0c82e12fd94ba0dbf21be603fb3a2e6">USBAccessoryManagerMessage</a> (<a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a> type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#a409e4ec6ee01c5be27cb31fc92699632">USBAccessoryManagerMessage</a> (<a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a> type, byte[] data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#a9a72c0e5a50e35f3226fc1933f6cf7b6">USBAccessoryManagerMessage</a> (<a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a> type, byte[] data, UsbAccessory accessory)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#abd547c8cb3cad924fb2d45876aa1fcd4">USBAccessoryManagerMessage</a> (<a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a> type, UsbAccessory accessory)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac30ff56ee6384b6a2c5ff6274bafff13"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::type" ref="ac30ff56ee6384b6a2c5ff6274bafff13" args="" -->
<a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a877d03920e58e0dcbaef97007526cd72"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::text" ref="a877d03920e58e0dcbaef97007526cd72" args="" -->
String&#160;</td><td class="memItemRight" valign="bottom"><b>text</b> = null</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a490cf11f4d1e1431dc6bdd36c1be0924"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::data" ref="a490cf11f4d1e1431dc6bdd36c1be0924" args="" -->
byte[]&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> = null</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8e68fa403ecd9a6131a6cd4cf83c1a6"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::accessory" ref="aa8e68fa403ecd9a6131a6cd4cf83c1a6" args="" -->
UsbAccessory&#160;</td><td class="memItemRight" valign="bottom"><b>accessory</b> = null</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Basic Message class for the <a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager.html">USBAccessoryManager</a>. This is used to send messages from the USB Accessory's read thread to the GUI thread to notify the GUI thread of various USB Accessory events (like data available or device attachment).</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Microchip Technologies Inc. </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af0c82e12fd94ba0dbf21be603fb3a2e6"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::USBAccessoryManagerMessage" ref="af0c82e12fd94ba0dbf21be603fb3a2e6" args="(MessageType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#af0c82e12fd94ba0dbf21be603fb3a2e6">com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage.USBAccessoryManagerMessage</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates new message of specified type</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The type of this message </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a409e4ec6ee01c5be27cb31fc92699632"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::USBAccessoryManagerMessage" ref="a409e4ec6ee01c5be27cb31fc92699632" args="(MessageType type, byte[] data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#af0c82e12fd94ba0dbf21be603fb3a2e6">com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage.USBAccessoryManagerMessage</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte[]&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a new message of specified type with specified data</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The type of this message </td></tr>
    <tr><td class="paramname">data</td><td>The data associated with this message </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9a72c0e5a50e35f3226fc1933f6cf7b6"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::USBAccessoryManagerMessage" ref="a9a72c0e5a50e35f3226fc1933f6cf7b6" args="(MessageType type, byte[] data, UsbAccessory accessory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#af0c82e12fd94ba0dbf21be603fb3a2e6">com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage.USBAccessoryManagerMessage</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte[]&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UsbAccessory&#160;</td>
          <td class="paramname"><em>accessory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a new message of specified type with specified data</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The type of this message </td></tr>
    <tr><td class="paramname">data</td><td>The data associated with this message </td></tr>
    <tr><td class="paramname">accessory</td><td>The accessory associated with this message </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abd547c8cb3cad924fb2d45876aa1fcd4"></a><!-- doxytag: member="com::wheelphone::wheelphonelibrary::USBAccessoryManagerMessage::USBAccessoryManagerMessage" ref="abd547c8cb3cad924fb2d45876aa1fcd4" args="(MessageType type, UsbAccessory accessory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html#af0c82e12fd94ba0dbf21be603fb3a2e6">com.wheelphone.wheelphonelibrary.USBAccessoryManagerMessage.USBAccessoryManagerMessage</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="enumcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message_1_1_message_type.html">MessageType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UsbAccessory&#160;</td>
          <td class="paramname"><em>accessory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a new message of specified type with specified data</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The type of this message </td></tr>
    <tr><td class="paramname">accessory</td><td>The accessory associated with this message </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>H:/lavoro/local-repo/phonebot-working/_android-side/WheelphoneLibrary/src/com/wheelphone/wheelphonelibrary/USBAccessoryManagerMessage.java</li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>com</b>      </li>
      <li class="navelem"><b>wheelphone</b>      </li>
      <li class="navelem"><b>wheelphonelibrary</b>      </li>
      <li class="navelem"><a class="el" href="classcom_1_1wheelphone_1_1wheelphonelibrary_1_1_u_s_b_accessory_manager_message.html">USBAccessoryManagerMessage</a>      </li>

    <li class="footer">Generated on Fri Jun 14 2013 11:31:56 for Wheelphone Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
